package com.guli.gulikiller.killer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guli.common.utils.PageUtils;
import com.guli.gulikiller.killer.entity.StockOrderEntity;
import org.springframework.transaction.annotation.Transactional;


import java.util.Map;

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2022-05-27 09:51:41
 */
public interface StockOrderService extends IService<StockOrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    int createWrongOrder(Integer sid);

    int insertSelective(StockOrderEntity order);

    int createOptimisticOrder(Integer sid);

    int createSadOrder(Integer sid);
}

